using System;
using System.Collections;
using Whitemice.MOGI;

namespace Whitemice.MOGI.ZOGI
{	
	public class Team : Whitemice.MOGI.ZOGI.Document, ITeam
	{
		public Team(IServer server, Payload payload) 
			: base(server, payload)
		{
		}
		
		/// \brief Accessor for the description value
		public string Description 
		{
			get 
			{
				return payload.GetStringForKey("name");
			}
		}

		/// \brief Accessor for the email value
		public string EMail 
		{
			get 
			{
				return payload.GetStringForKey("email");			
			}
		}

		/// \brief Accessor for the isLocationTeam value
		public bool Location 
		{
			get 
			{
				return false;
			}
		}
		
		/// \todo Implement
		public ArrayList Members
		{
			get { return new ArrayList();}
			set { }
		}		
	} // End Class
} // End namespace